Merge "Remove trailing empty lines in PHP"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 17 Jan 2017 10:54:13 +0000 (10:54 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 17 Jan 2017 10:54:14 +0000 (10:54 +0000)
includes/page/Article.php
includes/specials/SpecialUncategorizedcategories.php

index a493854..a33c84f 100644 (file)
@@ -391,10 +391,9 @@ class Article implements Page {
                // Avoid PHP 7.1 warning of passing $this by reference
                $articlePage = $this;
 
-               ContentHandler::runLegacyHooks(
+               Hooks::run(
                        'ArticleAfterFetchContentObject',
-                       [ &$articlePage, &$this->mContentObject ],
-                       '1.21'
+                       [ &$articlePage, &$this->mContentObject ]
                );
 
                return $this->mContentObject;
index 90dfdc5..77b6926 100644 (file)
@@ -40,7 +40,7 @@ class UncategorizedCategoriesPage extends UncategorizedPagesPage {
        }
 
        /**
-        * Returns an array of categorie titles (usually without the namespace), which
+        * Returns an array of category titles (usually without the namespace), which
         * shouldn't be listed on this page, even if they're uncategorized.
         *
         * @return array